package com.tsite.service.common.security;

import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Service;

@Service
public class AuthenticatedService {
	public Authentication getAuthentication()
	{
		return SecurityContextHolder.getContext().getAuthentication();
	}
}
